PoweredCache\Dependencies\voku\helper\HtmlMin D

Total Complexity 244
Dependencies 11
Dependents 1
Total lines 1,962
Lines of code 924
Logical lines of code 341
Comment lines 581
Methods 76
Properties 44

Methods 76

Method Rating Maintainability Complexity Lines of code
domNodeClosingTagOptional()
D
22
50 221
domNodeToString()
C
35 26 89
domNodeAttributesToString()
B
43 16 50
minify()
A
36 12 94
minifyHtmlDom()
A
43 12 49
protectTags()
A
45 11 39
getDoctype()
A
52 9 25
sumUpWhitespace()
S
52 7 25
removeWhitespaceAroundTags()
S
53 7 23
getNextSiblingOfTypeDOMElement()
S
55 7 19
isConditionalComment()
S
61 5 13
isSpecialComment()
S
60 5 13
removeComments()
S
59 4 14
protectTagHelper()
S
59 4 14
overwriteSpecialScriptTags()
S
65 3 9
overwriteTemplateLogicSyntaxInSpecialScriptTags()
S
65 3 9
notifyObserversAboutDomElementBeforeMinification()
S
73 2 5
doMakeSameDomainsLinksRelative()
S
65 2 8
notifyObserversAboutDomElementAfterMinification()
S
73 2 5
isdoKeepHttpAndHttpsPrefixOnExternalAttributes()
S
82 1 3
isDoRemoveHttpsPrefixFromAttributes()
S
82 1 3
isDoRemoveHttpPrefixFromAttributes()
S
82 1 3
isDoMakeSameDomainsLinksRelative()
S
82 1 3
isDoRemoveOmittedHtmlTags()
S
82 1 3
isDoRemoveOmittedQuotes()
S
82 1 3
isDoRemoveSpacesBetweenTags()
S
82 1 3
isDoRemoveEmptyAttributes()
S
82 1 3
isXHTML()
S
82 1 3
isDoRemoveValueFromEmptyInput()
S
82 1 3
isDoRemoveWhitespaceAroundTags()
S
82 1 3
isDoSortCssClassNames()
S
82 1 3
isDoSortHtmlAttributes()
S
82 1 3
isDoSumUpWhitespace()
S
82 1 3
isHTML4()
S
82 1 3
isDoRemoveDefaultMediaTypeFromStyleAndLinkTag()
S
82 1 3
restoreProtectedHtml()
S
74 1 4
setDomainsToRemoveHttpPrefixFromAttributes()
S
77 1 4
setSpecialHtmlComments()
S
74 1 5
useKeepBrokenHtml()
S
77 1 4
isDoRemoveDefaultTypeFromButton()
S
82 1 3
__construct()
S
76 1 4
isDoRemoveDeprecatedTypeFromStyleAndLinkTag()
S
82 1 3
doRemoveDeprecatedTypeFromStylesheetLink()
S
77 1 4
doRemoveHttpsPrefixFromAttributes()
S
77 1 4
doRemoveHttpPrefixFromAttributes()
S
77 1 4
doRemoveEmptyAttributes()
S
77 1 4
doRemoveDefaultTypeFromButton()
S
77 1 4
doRemoveDefaultMediaTypeFromStyleAndLinkTag()
S
77 1 4
doRemoveDeprecatedTypeFromStyleAndLinkTag()
S
77 1 4
doRemoveDeprecatedTypeFromScriptTag()
S
77 1 4
getLocalDomains()
S
82 1 3
doRemoveDeprecatedScriptCharsetAttribute()
S
77 1 4
doRemoveDeprecatedAnchorName()
S
77 1 4
doRemoveDefaultAttributes()
S
77 1 4
doRemoveComments()
S
77 1 4
doOptimizeViaHtmlDomParser()
S
77 1 4
doOptimizeAttributes()
S
77 1 4
doKeepHttpAndHttpsPrefixOnExternalAttributes()
S
77 1 4
doRemoveOmittedHtmlTags()
S
77 1 4
isDoRemoveDeprecatedTypeFromStylesheetLink()
S
82 1 3
isDoOptimizeAttributes()
S
82 1 3
attachObserverToTheDomLoop()
S
81 1 3
isDoRemoveDeprecatedScriptCharsetAttribute()
S
82 1 3
isDoRemoveDeprecatedAnchorName()
S
82 1 3
isDoRemoveDefaultAttributes()
S
82 1 3
isDoRemoveComments()
S
82 1 3
isDoOptimizeViaHtmlDomParser()
S
82 1 3
getDomainsToRemoveHttpPrefixFromAttributes()
S
82 1 3
doRemoveOmittedQuotes()
S
77 1 4
doSumUpWhitespace()
S
77 1 4
doSortHtmlAttributes()
S
77 1 4
doSortCssClassNames()
S
77 1 4
doRemoveWhitespaceAroundTags()
S
77 1 4
doRemoveValueFromEmptyInput()
S
77 1 4
doRemoveSpacesBetweenTags()
S
77 1 4
isDoRemoveDeprecatedTypeFromScriptTag()
S
82 1 3